package com.xinqi.modules.exam.paper.dto.req;

import com.xinqi.common.base.dto.CommonFileDTO;
import com.xinqi.common.base.dto.QuestionBaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 课程测评-请求对象-修改
 *
 * @author: linkai
 * @date: 2023/07/02
 */
@Data
@Schema(description = "课程测评-请求对象-修改")
public class CourseExamPaperUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键", example = "10001")
    private Long id;
    /**
     * 所属章节ID
     */
    @Schema(description = "所属章节ID", example = "10002")
    private Long chapterId = 0L;
    /**
     * 名称
     */
    @Schema(description = "名称", example = "第一学期语文测评卷")
    private String name;
    /**
     * 详情
     */
    @Schema(description = "详情", example = "第一学期语文测评卷，包含选择题、填空题、简答题")
    private String content;
    /**
     * 题目内容
     */
    @Schema(description = "题目内容", example = "")
    private List<QuestionBaseDTO> questionContent;
    /**
     * 附件列表
     */
    @Schema(description = "附件列表", example = "{}")
    private List<CommonFileDTO> files;
    /**
     * 扩展字段
     */
    @Schema(description = "扩展字段", example = "")
    private String extend;
}
